Integrand size = 28, antiderivative size = 143 \[ \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )^2}{x^6} \, dx=-\frac {a^2 A}{5 x^5}-\frac {a^2 B}{4 x^4}-\frac {a (2 A b+a C)}{3 x^3}-\frac {a b B}{x^2}-\frac {A \left (b^2+2 a c\right )+2 a b C}{x}+\left (2 A b c+\left (b^2+2 a c\right ) C\right ) x+b B c x^2+\frac {1}{3} c (A c+2 b C) x^3+\frac {1}{4} B c^2 x^4+\frac {1}{5} c^2 C x^5+B \left (b^2+2 a c\right ) \log (x) \]
-1/5*a^2*A/x^5-1/4*a^2*B/x^4-1/3*a*(2*A*b+C*a)/x^3-a*b*B/x^2+(-A*(2*a*c+b^ 2)-2*a*b*C)/x+(2*A*b*c+(2*a*c+b^2)*C)*x+b*B*c*x^2+1/3*c*(A*c+2*C*b)*x^3+1/ 4*B*c^2*x^4+1/5*c^2*C*x^5+B*(2*a*c+b^2)*ln(x)
Time = 0.06 (sec) , antiderivative size = 142, normalized size of antiderivative = 0.99 \[ \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )^2}{x^6} \, dx=-\frac {a^2 A}{5 x^5}-\frac {a^2 B}{4 x^4}-\frac {a (2 A b+a C)}{3 x^3}-\frac {a b B}{x^2}-\frac {A b^2+2 a A c+2 a b C}{x}+2 A b c x+\left (b^2+2 a c\right ) C x+b B c x^2+\frac {1}{3} c (A c+2 b C) x^3+\frac {1}{4} B c^2 x^4+\frac {1}{5} c^2 C x^5+B \left (b^2+2 a c\right ) \log (x) \]
-1/5*(a^2*A)/x^5 - (a^2*B)/(4*x^4) - (a*(2*A*b + a*C))/(3*x^3) - (a*b*B)/x ^2 - (A*b^2 + 2*a*A*c + 2*a*b*C)/x + 2*A*b*c*x + (b^2 + 2*a*c)*C*x + b*B*c *x^2 + (c*(A*c + 2*b*C)*x^3)/3 + (B*c^2*x^4)/4 + (c^2*C*x^5)/5 + B*(b^2 + 2*a*c)*Log[x]
Time = 0.36 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2159, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (a+b x^2+c x^4\right )^2 \left (A+B x+C x^2\right )}{x^6} \, dx\) |
\(\Big \downarrow \) 2159 |
\(\displaystyle \int \left (\frac {a^2 A}{x^6}+\frac {a^2 B}{x^5}+\frac {A \left (2 a c+b^2\right )+2 a b C}{x^2}+2 A b c \left (\frac {b C \left (\frac {2 a c}{b^2}+1\right )}{2 A c}+1\right )+\frac {a (a C+2 A b)}{x^4}+\frac {B \left (2 a c+b^2\right )}{x}+\frac {2 a b B}{x^3}+c x^2 (A c+2 b C)+2 b B c x+B c^2 x^3+c^2 C x^4\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {a^2 A}{5 x^5}-\frac {a^2 B}{4 x^4}+x \left (C \left (2 a c+b^2\right )+2 A b c\right )-\frac {A \left (2 a c+b^2\right )+2 a b C}{x}-\frac {a (a C+2 A b)}{3 x^3}+B \log (x) \left (2 a c+b^2\right )-\frac {a b B}{x^2}+\frac {1}{3} c x^3 (A c+2 b C)+b B c x^2+\frac {1}{4} B c^2 x^4+\frac {1}{5} c^2 C x^5\) |
-1/5*(a^2*A)/x^5 - (a^2*B)/(4*x^4) - (a*(2*A*b + a*C))/(3*x^3) - (a*b*B)/x ^2 - (A*(b^2 + 2*a*c) + 2*a*b*C)/x + (2*A*b*c + (b^2 + 2*a*c)*C)*x + b*B*c *x^2 + (c*(A*c + 2*b*C)*x^3)/3 + (B*c^2*x^4)/4 + (c^2*C*x^5)/5 + B*(b^2 + 2*a*c)*Log[x]
3.1.19.3.1 Defintions of rubi rules used
Int[(Pq_)*((d_.) + (e_.)*(x_))^(m_.)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p _.), x_Symbol] :> Int[ExpandIntegrand[(d + e*x)^m*Pq*(a + b*x + c*x^2)^p, x ], x] /; FreeQ[{a, b, c, d, e, m}, x] && PolyQ[Pq, x] && IGtQ[p, -2]
Time = 0.05 (sec) , antiderivative size = 135, normalized size of antiderivative = 0.94
method | result | size |
default | \(\frac {c^{2} C \,x^{5}}{5}+\frac {B \,c^{2} x^{4}}{4}+\frac {A \,c^{2} x^{3}}{3}+\frac {2 C b c \,x^{3}}{3}+B b c \,x^{2}+2 A b c x +2 C a c x +C \,b^{2} x +B \left (2 a c +b^{2}\right ) \ln \left (x \right )-\frac {a b B}{x^{2}}-\frac {a^{2} A}{5 x^{5}}-\frac {2 A a c +A \,b^{2}+2 a b C}{x}-\frac {a^{2} B}{4 x^{4}}-\frac {a \left (2 A b +C a \right )}{3 x^{3}}\) | \(135\) |
risch | \(\frac {c^{2} C \,x^{5}}{5}+\frac {B \,c^{2} x^{4}}{4}+\frac {A \,c^{2} x^{3}}{3}+\frac {2 C b c \,x^{3}}{3}+B b c \,x^{2}+2 A b c x +2 C a c x +C \,b^{2} x +\frac {\left (-2 A a c -A \,b^{2}-2 a b C \right ) x^{4}-B a b \,x^{3}+\left (-\frac {2}{3} A a b -\frac {1}{3} C \,a^{2}\right ) x^{2}-\frac {B \,a^{2} x}{4}-\frac {A \,a^{2}}{5}}{x^{5}}+2 B \ln \left (x \right ) a c +B \ln \left (x \right ) b^{2}\) | \(139\) |
norman | \(\frac {\left (\frac {1}{3} A \,c^{2}+\frac {2}{3} C b c \right ) x^{8}+\left (-\frac {2}{3} A a b -\frac {1}{3} C \,a^{2}\right ) x^{2}+\left (2 A b c +2 a c C +b^{2} C \right ) x^{6}+\left (-2 A a c -A \,b^{2}-2 a b C \right ) x^{4}+b B c \,x^{7}-\frac {A \,a^{2}}{5}-\frac {B \,a^{2} x}{4}+\frac {B \,c^{2} x^{9}}{4}+\frac {c^{2} C \,x^{10}}{5}-B a b \,x^{3}}{x^{5}}+\left (2 B a c +B \,b^{2}\right ) \ln \left (x \right )\) | \(140\) |
parallelrisch | \(\frac {12 c^{2} C \,x^{10}+15 B \,c^{2} x^{9}+20 A \,c^{2} x^{8}+40 C b c \,x^{8}+60 b B c \,x^{7}+120 A b c \,x^{6}+120 B \ln \left (x \right ) x^{5} a c +60 B \ln \left (x \right ) x^{5} b^{2}+120 C a c \,x^{6}+60 C \,b^{2} x^{6}-120 A a c \,x^{4}-60 A \,b^{2} x^{4}-120 C a b \,x^{4}-60 B a b \,x^{3}-40 A a b \,x^{2}-20 C \,a^{2} x^{2}-15 B \,a^{2} x -12 A \,a^{2}}{60 x^{5}}\) | \(159\) |
1/5*c^2*C*x^5+1/4*B*c^2*x^4+1/3*A*c^2*x^3+2/3*C*b*c*x^3+B*b*c*x^2+2*A*b*c* x+2*C*a*c*x+C*b^2*x+B*(2*a*c+b^2)*ln(x)-a*b*B/x^2-1/5*a^2*A/x^5-(2*A*a*c+A *b^2+2*C*a*b)/x-1/4*a^2*B/x^4-1/3*a*(2*A*b+C*a)/x^3
Time = 0.25 (sec) , antiderivative size = 145, normalized size of antiderivative = 1.01 \[ \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )^2}{x^6} \, dx=\frac {12 \, C c^{2} x^{10} + 15 \, B c^{2} x^{9} + 60 \, B b c x^{7} + 20 \, {\left (2 \, C b c + A c^{2}\right )} x^{8} + 60 \, {\left (C b^{2} + 2 \, {\left (C a + A b\right )} c\right )} x^{6} + 60 \, {\left (B b^{2} + 2 \, B a c\right )} x^{5} \log \left (x\right ) - 60 \, B a b x^{3} - 60 \, {\left (2 \, C a b + A b^{2} + 2 \, A a c\right )} x^{4} - 15 \, B a^{2} x - 12 \, A a^{2} - 20 \, {\left (C a^{2} + 2 \, A a b\right )} x^{2}}{60 \, x^{5}} \]
1/60*(12*C*c^2*x^10 + 15*B*c^2*x^9 + 60*B*b*c*x^7 + 20*(2*C*b*c + A*c^2)*x ^8 + 60*(C*b^2 + 2*(C*a + A*b)*c)*x^6 + 60*(B*b^2 + 2*B*a*c)*x^5*log(x) - 60*B*a*b*x^3 - 60*(2*C*a*b + A*b^2 + 2*A*a*c)*x^4 - 15*B*a^2*x - 12*A*a^2 - 20*(C*a^2 + 2*A*a*b)*x^2)/x^5
Time = 3.95 (sec) , antiderivative size = 155, normalized size of antiderivative = 1.08 \[ \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )^2}{x^6} \, dx=B b c x^{2} + \frac {B c^{2} x^{4}}{4} + B \left (2 a c + b^{2}\right ) \log {\left (x \right )} + \frac {C c^{2} x^{5}}{5} + x^{3} \left (\frac {A c^{2}}{3} + \frac {2 C b c}{3}\right ) + x \left (2 A b c + 2 C a c + C b^{2}\right ) + \frac {- 12 A a^{2} - 15 B a^{2} x - 60 B a b x^{3} + x^{4} \left (- 120 A a c - 60 A b^{2} - 120 C a b\right ) + x^{2} \left (- 40 A a b - 20 C a^{2}\right )}{60 x^{5}} \]
B*b*c*x**2 + B*c**2*x**4/4 + B*(2*a*c + b**2)*log(x) + C*c**2*x**5/5 + x** 3*(A*c**2/3 + 2*C*b*c/3) + x*(2*A*b*c + 2*C*a*c + C*b**2) + (-12*A*a**2 - 15*B*a**2*x - 60*B*a*b*x**3 + x**4*(-120*A*a*c - 60*A*b**2 - 120*C*a*b) + x**2*(-40*A*a*b - 20*C*a**2))/(60*x**5)
Time = 0.19 (sec) , antiderivative size = 138, normalized size of antiderivative = 0.97 \[ \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )^2}{x^6} \, dx=\frac {1}{5} \, C c^{2} x^{5} + \frac {1}{4} \, B c^{2} x^{4} + B b c x^{2} + \frac {1}{3} \, {\left (2 \, C b c + A c^{2}\right )} x^{3} + {\left (C b^{2} + 2 \, {\left (C a + A b\right )} c\right )} x + {\left (B b^{2} + 2 \, B a c\right )} \log \left (x\right ) - \frac {60 \, B a b x^{3} + 60 \, {\left (2 \, C a b + A b^{2} + 2 \, A a c\right )} x^{4} + 15 \, B a^{2} x + 12 \, A a^{2} + 20 \, {\left (C a^{2} + 2 \, A a b\right )} x^{2}}{60 \, x^{5}} \]
1/5*C*c^2*x^5 + 1/4*B*c^2*x^4 + B*b*c*x^2 + 1/3*(2*C*b*c + A*c^2)*x^3 + (C *b^2 + 2*(C*a + A*b)*c)*x + (B*b^2 + 2*B*a*c)*log(x) - 1/60*(60*B*a*b*x^3 + 60*(2*C*a*b + A*b^2 + 2*A*a*c)*x^4 + 15*B*a^2*x + 12*A*a^2 + 20*(C*a^2 + 2*A*a*b)*x^2)/x^5
Time = 0.30 (sec) , antiderivative size = 140, normalized size of antiderivative = 0.98 \[ \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )^2}{x^6} \, dx=\frac {1}{5} \, C c^{2} x^{5} + \frac {1}{4} \, B c^{2} x^{4} + \frac {2}{3} \, C b c x^{3} + \frac {1}{3} \, A c^{2} x^{3} + B b c x^{2} + C b^{2} x + 2 \, C a c x + 2 \, A b c x + {\left (B b^{2} + 2 \, B a c\right )} \log \left ({\left | x \right |}\right ) - \frac {60 \, B a b x^{3} + 60 \, {\left (2 \, C a b + A b^{2} + 2 \, A a c\right )} x^{4} + 15 \, B a^{2} x + 12 \, A a^{2} + 20 \, {\left (C a^{2} + 2 \, A a b\right )} x^{2}}{60 \, x^{5}} \]
1/5*C*c^2*x^5 + 1/4*B*c^2*x^4 + 2/3*C*b*c*x^3 + 1/3*A*c^2*x^3 + B*b*c*x^2 + C*b^2*x + 2*C*a*c*x + 2*A*b*c*x + (B*b^2 + 2*B*a*c)*log(abs(x)) - 1/60*( 60*B*a*b*x^3 + 60*(2*C*a*b + A*b^2 + 2*A*a*c)*x^4 + 15*B*a^2*x + 12*A*a^2 + 20*(C*a^2 + 2*A*a*b)*x^2)/x^5
Time = 0.03 (sec) , antiderivative size = 136, normalized size of antiderivative = 0.95 \[ \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )^2}{x^6} \, dx=x^3\,\left (\frac {A\,c^2}{3}+\frac {2\,C\,b\,c}{3}\right )-\frac {x^2\,\left (\frac {C\,a^2}{3}+\frac {2\,A\,b\,a}{3}\right )+\frac {A\,a^2}{5}+x^4\,\left (A\,b^2+2\,C\,a\,b+2\,A\,a\,c\right )+\frac {B\,a^2\,x}{4}+B\,a\,b\,x^3}{x^5}+x\,\left (C\,b^2+2\,A\,c\,b+2\,C\,a\,c\right )+\ln \left (x\right )\,\left (B\,b^2+2\,B\,a\,c\right )+\frac {B\,c^2\,x^4}{4}+\frac {C\,c^2\,x^5}{5}+B\,b\,c\,x^2 \]